<template>
  <div class="left-top">
    <nav class="title"></nav>
    <main class="main">
      <div class="main-item">
        <div>
          <span class="item-title">硅光伏产业</span>
          <span>单位(千万)</span>
        </div>
        <div class="item-chart">
          <TopChart></TopChart>
        </div>
      </div>
      <div class="main-item">
        <div>
          <span class="item-title">新能源电池及新材料产业</span>
          <span>单位(千万)</span>
        </div>
        <div class="item-chart">
          <CenterChart></CenterChart>
        </div>
      </div>
      <div class="main-item">
        <div>
          <span class="item-title">数字经济及电子信息制造业</span>
          <span>单位(千万)</span>
        </div>
        <div class="item-chart">
          <BottomChart></BottomChart>
        </div>
      </div>
    </main>
  </div>
</template>

<script setup lang="ts" name="LeftTop">
import TopChart from "./leftTop/TopChart.vue";
import CenterChart from "./leftTop/CenterChart.vue";
import BottomChart from "./leftTop/BottomChart.vue";
</script>

<style scoped lang="less">
.left-top{
  width: 490px;
  height: 660px;
  position: absolute;
  left: 10px;
  top: 76px;
  .title{
    width: 450px;
    height: 35px;
    margin: 13.22px 10px 0 10px;
    background-image: url(../assets/left-top.svg);
  }
  .main{
    width: 100%;
    height: 610px;
    box-sizing: border-box;
    padding: 20px 0 0 10px;
    .main-item{
      height: 200px;
      .item-chart{
        width: 100%;
        height: 180px;
      }
      .item-title{
        color: #d3e2ff;
        font-family: '仿宋';
        font-weight: 600;
        font-size: 17px;
      }
      span{
        margin-left: 5px;
        color: #747e94;
        font-size: 14px;
      }
    }
  }
}
</style>
